package com.codechuan.hallo_web.mapper;

import com.codechuan.hallo_web.entity.SysUserAccountNzTwo;
import org.apache.ibatis.annotations.Param;

public interface SysUserAccountNzTwoMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SysUserAccountNzTwo record);

    int insertSelective(SysUserAccountNzTwo record);

    SysUserAccountNzTwo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysUserAccountNzTwo record);

    int updateByPrimaryKey(SysUserAccountNzTwo record);

    SysUserAccountNzTwo selectByPrimaryAccount(String account);

    int updateAccountToken(@Param("account") String account,@Param("token") String token, @Param("ticket") String ticket);

    void updateAccountTokenStatus(String account);

}